import java.rmi.Remote;
import java.rmi.RemoteException;

public interface RIAuthorization extends Remote {
    public String getAllUsers() 
        throws RemoteException;


    public int findUser(String sID) 
            throws RemoteException;
    
    public void addUser(String sID, String sPasswd) 
            throws RemoteException;
    
    public boolean matchPasswd(String sID, String sPasswd)
    		throws RemoteException;
    
    public String getCurUser()
    		throws RemoteException;
}
